#ifndef LANDBLOCKMASK_H
#define LANDBLOCKMASK_H

#include <QtWidgets>

class LandBlockMask : public QPushButton
{
    Q_OBJECT
public:
    explicit LandBlockMask(QWidget *parent=nullptr);
    LandBlockMask(bool isSearch);

public:
    void initialize();

signals:
    void isSearchChanged();

public slots:
    void markBlock();

private:
    bool isMark;

    // QWidget interface
protected:
    void mousePressEvent(QMouseEvent *event);
};

#endif // LANDBLOCKMASK_H
